//
//  String+Extension.swift
//  weibo
//
//  Created by RDDBoss3 on 2018/7/14.
//  Copyright © 2018年 Fly. All rights reserved.
//

import Foundation

extension String {
    
    func documentAppendingPathComponent() -> String {
        
        let document = NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true)[0] as NSString
        
        let path = document.appendingPathComponent(self)
        
        return path
        
    }
    
}
